package com.ty.xiaoyu.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class BrowsingHistory {
    String historyId;
//    String userId;
//    String moduleId;
//    String topicId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    LocalDateTime creatTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    LocalDateTime lastUpdateTime;
    Integer historyState;

    User user;
    Module module;
    Topic topic;
}
